package com.ruoyi.service;

import com.alipay.api.AlipayApiException;
import com.ruoyi.domain.Pay;
import com.ruoyi.domain.PaymentVo;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

public interface AlipayNewService {
    /**
     * 支付宝开放平台接收 request请求对象后
     * @return
     */
    String tradeCreate(Pay paymentVo) throws Exception;

    String tradeNotify(Map<String, String> params);

    String tradeReturn(HttpServletRequest request) throws AlipayApiException;
}
